package com.ruoyi.cc.domain;


/**
 * 维修预约实体类
 */
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class repairReservation {
    /** id编号 */
    private Integer id;

    /** 维修方式 */
    private String type;

    /** 车主姓名 */
    private String name;

    /** 联系方式 */
    private String phone;

    /** 预约时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date reservationTime;

    /** 取车位置 */
    private String location;

    /** 车辆类型id */
    private Integer carTypeId;

    /** 车牌号 */
    private String carNum;

    /** 整车照片（列表照片） */
    private String vehiclePhotos;

    /** 维修部位照片（列表照片） */
    private String repairPhotos;

    /** 维修状态（0已预约、1进行中、2已完成） */
    private Integer status;

    /** 删除状态 */
    private Integer deleted;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    // 以下为getter和setter方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getReservationTime() {
        return reservationTime;
    }

    public void setReservationTime(Date reservationTime) {
        this.reservationTime = reservationTime;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getCarTypeId() {
        return carTypeId;
    }

    public void setCarTypeId(Integer carTypeId) {
        this.carTypeId = carTypeId;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public String getVehiclePhotos() {
        return vehiclePhotos;
    }

    public void setVehiclePhotos(String vehiclePhotos) {
        this.vehiclePhotos = vehiclePhotos;
    }

    public String getRepairPhotos() {
        return repairPhotos;
    }

    public void setRepairPhotos(String repairPhotos) {
        this.repairPhotos = repairPhotos;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "RepairReservation{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", reservationTime=" + reservationTime +
                ", location='" + location + '\'' +
                ", carTypeId=" + carTypeId +
                ", carNum='" + carNum + '\'' +
                ", vehiclePhotos='" + vehiclePhotos + '\'' +
                ", repairPhotos='" + repairPhotos + '\'' +
                ", status=" + status +
                ", deleted=" + deleted +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
